


#header-principal {
  background: transparent !important;
height: none;
min-height: none;
max-height: none;
display: none;
}
#header-principal::before {
  background: transparent !important;
  display: none !important; /* o quitar display si solo quieres hacerlo invisible */
}

header::before{
    display: none;
}

.portada {
  position: relative;
  width: 100%;
  height: 28rem; /* Puedes aumentar a 35rem si quieres más alto */
  overflow: hidden;
  margin-top: 38px;
}

.portada-imagen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portada-capa {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

/* Aquí controlas la posición del contenido */
.portada-contenido {
  position: absolute;
  bottom: 20px; /* 🔽 ajusta este valor para bajarlo o subirlo */
  left: 30px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Imagen de perfil */
.perfil {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 4px solid white;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Texto */
.texto {
  color: white;
}

.texto h1 {
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.texto p {
  font-size: 1rem;
  margin-top: 0.25rem;
  color: #f3f4f6;
}




/* === 📱 AJUSTES PARA CELULAR === */
@media (max-width: 768px) {
  .portada {
    height: 24rem; /* puedes ajustar si quieres menos alto en móvil */
  }

  .portada-contenido {
    flex-direction: column;       /* logo arriba, texto abajo */
    align-items: center;          /* centrado horizontal */
    justify-content: center;      /* centrado vertical */
    bottom: 10px;                 /* un poco más abajo */
    left: 0;
    right: 0;
    text-align: center;
  }

  .perfil {
    width: 6rem;
    height: 6rem;
    border-width: 3px;
  }

  .texto h1 {
    font-size: 1.5rem;
  }

  .texto p {
    font-size: 0.9rem;
  }
}